package com.heima.search.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.UserSearchDto;
import org.springframework.stereotype.Service;

import java.io.IOException;

/**
 * @author daxin
 * @date 2022/7/25 20:44
 */

@Service
public interface SearchService {
    /**
     ES文章分页搜索
     @return
     */
    ResponseResult search(UserSearchDto userSearchDto) throws IOException;
}
